package com.zgh.opcua.entity;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.ArrayList;
import java.util.List;

/**
 * @ClassName NodeEntity
 * @Description 节点信息
 * @Author Administrator
 * @Date 10:47 2025/11/6
 * @Version 1.0
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
public class NodeEntity {
    // 命名空间索引
    private int index;
    // 节点标识符
    private String identifier;
    // 节点名
    private String name;
    //节点类型（1：树根节点，2为叶子接点）
    private Integer nodeClassValue;
    private List<NodeEntity> children = new ArrayList<>();
}
